﻿using System;
using System.Collections.Generic;
using System.Text;
using Pixysoft.Framework.Noebe;
using System.Data;

namespace Pixysoft.Weblications.Sango
{
    public interface IEntityNoebeTransaction : IEntitySession
    {
        bool IsOpen { get;}

        void Begin();

        void Begin(IsolationLevel level);

        void Begin(NoebeTransactionArea transactionArea);

        void Begin(IsolationLevel level, NoebeTransactionArea transactionArea);

        void Commit();

        void Rollback();
    }
}
